//
//  NSDictionary+Extend.h
//  XLDoctor
//
//  Created by longma on 2018/12/27.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (MJUI)

/// 获取当前最上层的控制器 最顶层控制器
+ (UIViewController *)mj_topViewController;

/// 返回pop 等待时间
- (void)mj_popViewControllerWaitTime;

/// 返回pop
- (void)mj_popViewController;

/// rt_navigationController 移除控制器
- (void)mj_removeViewController:(UIViewController *)controller;

/// 控制器名称
- (void)mj_pushViewController:(NSString *)targetName;

- (void)mj_animateAlongsideTransition:(void (^ __nullable)(id <UIViewControllerTransitionCoordinatorContext>context))animation
                           completion:(void (^ __nullable)(id <UIViewControllerTransitionCoordinatorContext>context))completion;

@end

@interface UIViewController (Language)
/// 语言
@property (nonatomic, strong)IBInspectable NSString *mj_titleLocalizable;
@end

NS_ASSUME_NONNULL_END
